package Visualization;

import Auxiliary.Sequence_Row;
import DataView.Value;

public class StateTableVis 
{
	Sequence_StateObserverVis stateObservers=null;
	Sequence_Row rows=null;
	
	public StateTableVis(Sequence_StateObserverVis ssov, Sequence_Row sr)
	{
		stateObservers=ssov;
		rows=sr;
	}

	public Sequence_Row getAllRows() 
	{
		return rows;
	}

	public Sequence_StateObserverVis getUsedSo() 
	{
		return stateObservers;
	}

	public Value getElementAt(int row, int column) 
	{
		if(rows!=null && rows.get(row).getValues()!=null)
			return rows.get(row).getValues().get(column);
		else return null;
	}
}